package com.woniuxy.dudugua.mapper;

import com.woniuxy.dudugua.entity.CouponRule;
import com.woniuxy.dudugua.entity.CouponRuleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CouponRuleMapper {
    long countByExample(CouponRuleExample example);

    int deleteByExample(CouponRuleExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CouponRule record);

    int insertSelective(CouponRule record);

    List<CouponRule> selectByExample(CouponRuleExample example);

    CouponRule selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CouponRule record, @Param("example") CouponRuleExample example);

    int updateByExample(@Param("record") CouponRule record, @Param("example") CouponRuleExample example);

    int updateByPrimaryKeySelective(CouponRule record);

    int updateByPrimaryKey(CouponRule record);
}